package com.dq.controller.in.query;

import com.dq.controller.in.base.BaseAdminQuery;
import com.dq.domain.goods.Goods;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author liuhui
 * @date 2019/9/16 0016 15:35:08
 */
@Data
@ApiModel("商品多条件检索")
public class GoodsQuery extends BaseAdminQuery {
    @ApiModelProperty("商品名称")
    private String goodsName;
    @ApiModelProperty("是否热销")
    private Boolean hotSell;
    @ApiModelProperty("类别id")
    private Long categoryId;
    @ApiModelProperty("状态")
    public Goods.GoodsStatus goodsStatus;
    @ApiModelProperty("是否推荐")
    protected Boolean isRecommend;
    @ApiModelProperty("价格左区间")
    protected BigDecimal priceMin;
    @ApiModelProperty("价格右区间")
    protected BigDecimal priceMax;
    @ApiModelProperty("是否显示")
    protected Goods.ShowStatus status;
}
